// Right grid functions


// Determines a grid column width.
// @param $columns [Integer] Number of columns to span.
// @return [Integer] The grid column width.
@function right-grid-column-width( $columns )
  @return px-to-percent( ($columns * $grid-column-width) - ($grid-gutter-width * 2), $grid-max-width )

// Determines a grid column offset.
// @param $columns [Integer] Number of columns to offset by.
// @return [Integer] The grid column offset.
@function right-grid-column-offset( $columns )
  @return px-to-percent( ($columns * $grid-column-width) + $grid-gutter-width, $grid-max-width )

// Determines a grid column gutter width.
// @return [Integer] The grid column gutter width.
@function right-grid-column-gutter()
  @return px-to-percent( $grid-gutter-width, $grid-max-width )
